const webpack = require('webpack')
const Base = require('./webpack.base.config')
const { merge } = require('webpack-merge')
module.exports = merge(Base, {
    devtool: 'inline-source-map',
    devServer: {
        hot: true,
        open: true,
        port: 1235,
        host: 'localhost',
        compress: true,
        headers: {
            'Access-Control-Allow-Origin': '*',
        },
    },
    plugins: [
        new webpack.HotModuleReplacementPlugin()
    ]
})